package com.ctg.itrdc.imageconsole.util;

import java.util.Base64;

public class AuthorizationUtil {

	public static String getBasicToken(String username, String password) {
		byte[] bytes = String.format("%s:%s", username, password).getBytes();
		return String.format("Basic %s", Base64.getEncoder().encodeToString(bytes));
	}
}
